NewsParserPlugin\Parser\Modifiers\AdapterModifiers\Before\GeneratePostBodyWithAI A

Total Complexity 57
Dependencies 0
Dependents 1
Total lines 251
Lines of code 204
Logical lines of code 120
Comment lines 8
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
encodeBody()
A
57 8 17
mergeParagraphs()
S
54 7 23
extractHeadins()
S
57 6 16
decodeBody()
S
51 5 28
processBodyArray()
S
57 4 16
__invoke()
S
57 4 16
replaceOriginalContent()
S
59 4 14
shouldGenerateWithAI()
S
70 4 6
decodeParagraph()
S
60 3 14
countParagraphs()
S
63 3 11
preparePostBody()
S
78 2 3
processPipelines()
S
63 2 10
getAIRequestOptions()
S
63 1 12
__construct()
S
81 1 3
preparePrompt()
S
72 1 5
processBodyString()
S
71 1 5
removePromptTags()
S
72 1 5